package com.cjy.dao;

import com.cjy.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2021/4/3 20:05
 */
public interface UserInfoDao extends JpaRepository<UserInfo, Long> {
  /** 通过username查找用户信息 */
  UserInfo findByUsername(String username);
}
